projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a135a
)
Fix previous dired-x.el change.
author
Glenn Morris
<rgm@gnu.org>
Wed, 2 Mar 2011 17:12:43 +0000
(09:12 -0800)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 2 Mar 2011 17:12:43 +0000
(09:12 -0800)
lisp/dired-x.el
patch
|
blob
|
history
diff --git
a/lisp/dired-x.el
b/lisp/dired-x.el
index 94398687d113b13c3a2da459b00eacf07567db17..d71212e5dcb354aa3651aee35d4419d9fccf48b5 100644
(file)
--- a/
lisp/dired-x.el
+++ b/
lisp/dired-x.el
@@
-735,9
+735,9
@@
If none, return `default-directory'."
((eq major-mode 'dired-mode) (dired-get-filename t t))))
current-prefix-arg
shell-command-default-error-buffer))
- (let ((default-directory (
if
(eq major-mode 'dired-mode)
-
(dired-current-directory
)
- default-directory)))
+ (let ((default-directory (
or (and
(eq major-mode 'dired-mode)
+
(dired-current-directory)
)
+
default-directory)))
(shell-command command output-buffer error-buffer)))
\f